package com.tianji.remark;

import lombok.RequiredArgsConstructor;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.StringRedisTemplate;

@SpringBootTest
@RequiredArgsConstructor
public class Remarktest {

    private final StringRedisTemplate redisTemplate;
    @Test
    public void test(){
        String key = "likes:set:biz:01";
        Long size = redisTemplate.opsForZSet().size(key);
    }
}
